package dukeCE.InsightTracker;


import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;

public class MainMenuActivity extends home_activity{

	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main_menu);
	}

	/**
	 * Called when activity is becoming available, followed by onResume() or
	 * onStop().
	 */
	protected void onStart() {
		super.onStart();
	}

	/**
	 * Pause activity when loses focus, followed by onResume() or onStop().
	 */
	protected void onPause() {
		super.onPause();
	}

	/**
	 * Activity returns to focus, only followed by onPause().
	 */
	protected void onResume() {
		super.onResume();
	}

	/**
	 * Called when activity no longer visable, followed by onRestart() or
	 * onDestroy();
	 */
	protected void onStop() {
		super.onStop();
	}

	/**
	 * Called by activity after stopping, followed by onStart();
	 */
	protected void onRestart() {
		super.onRestart();
	}

	/**
	 * Called when activity ending and removed from memory.
	 */
	protected void onDestroy() {

		super.onDestroy();
	}

	// User interaction methods

	/**
	 * Handles button clicks, listener is set in XML fle.
	 */
	public void onClickB(View v) {
		int id = v.getId();
		switch (id) {
		case R.id.topics:
			startActivity(new Intent(this, home_activity.class));
			break;
			
		case R.id.newtopic:
			startActivity(new Intent(this, post_activity.class));
			break;
			

			
		case R.id.calendar:
			startActivity(new Intent(this, ComingSoonActivity.class));
			break;
			
		case R.id.map:
			startActivity(new Intent(this, ComingSoonActivity.class));
			break;
			
		case R.id.fav:
			startActivity(new Intent(this, ComingSoonActivity.class));
			break;
	
		case R.id.topicBt:
			startActivity(new Intent(this, home_activity.class));
			break;
			
		default:
			break;
		}
	}



	
	
}
